import Vue from 'vue'
import Router from 'vue-router'
import home from '@/view/home'
import collectinfo from '@/view/collectinfo'
import my from '@/view/my'

Vue.use(Router)

export default new Router({
  routes: [
    {
        path: '/',
        name: 'home',
        component: home
    },
    {
        path:'/collectinfo',
        name:'collectinfo',
        component:collectinfo
    },
    {
        path:'/my',
        name:'my',
        component:my
    }
  ]
})
